package com.lebang.medicalInquiry.mapper;

import com.lebang.medicalInquiry.model.po.PhysicianVerbalTrick;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PhysicianVerbalTrickMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PhysicianVerbalTrick record);

    int insertSelective(PhysicianVerbalTrick record);

    PhysicianVerbalTrick selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PhysicianVerbalTrick record);

    int updateByPrimaryKeyWithBLOBs(PhysicianVerbalTrick record);

    int updateByPrimaryKey(PhysicianVerbalTrick record);

    List<PhysicianVerbalTrick> getVerbalTrick(@Param("physicianId") Integer physicianId, @Param("type") String type, @Param("qaShape") String qaShape, @Param("page") int page, @Param("limit") Integer limit);

    Integer count(@Param("physicianId") Integer physicianId, @Param("type") String type, @Param("qaShape") String qaShape);
}